var util = require('../../utils/util.js');
var api = require('../../config/api.js');
const tmps = require("../../utils/wxMsgTmp");

var app = getApp();
Page({
  data: {
    status: false,
    orderNo: 0,
  },
  onLoad: function (options) {
    // 页面初始化 options为页面跳转所带来的参数
    this.setData({
      orderId: options.orderNo,
      status: options.status === '1' ? true : false,
    })

    try {
      wx.setStorageSync('orderTabSatus', 0);
    } catch (e) {

    }

  },
  onReady: function () {

  },
  onShow: function () {
    // 页面显示


  },
  onHide: function () {
    // 页面隐藏

  },
  onUnload: function () {
    // 页面关闭

  },
})